package com.aaa.controller;

import com.aaa.entity.Activeity_details;
import com.aaa.service.Activeity_detailsService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("details")
@Slf4j

public class Activeity_detailsController {
    @Resource
    Activeity_detailsService activeity_detailsService;

    @RequestMapping("select")
    @ResponseBody
    public List<Activeity_details>select(){
        return activeity_detailsService.select();
    }
}
